from django import forms


class SendMessageForms(forms.Form):
    username = forms.CharField(required=True,max_length=255, min_length=1, error_messages={'required': u'用户名不能为空'})
    title = forms.CharField(min_length=0,required=True)
    content = forms.CharField(required=True,min_length=1, error_messages={'required': u'内容不能为空'})
    use_email = forms.BooleanField(required=False)
